package com.hulk.ratel.common.exception;

import lombok.extern.slf4j.Slf4j;

/**
 * Created by liqingxue on 2017/11/10.
 * 重发exception
 */
@Slf4j
public class NotifyRetryRteException extends BaseRteException {

    private static final long serialVersionUID = -1893949231108441387L;


    public NotifyRetryRteException(String errorCode, Throwable throwable) {
        super(errorCode, throwable);
    }

    public NotifyRetryRteException(String traceId, String errorCode, String errMsg) {
        super(errorCode, errMsg);
        this.intTxnSeq = traceId;
        log.error("intTxnSeq:{},errorCode:{},errorMessage:{}", intTxnSeq, errorCode, errMsg);
    }
}
